package com.kinghood.productcenter.service.product;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kinghood.productcenter.common.model.dao.product.UserSearchSettingDO;
import com.kinghood.productcenter.common.model.dto.product.GetUserSearchSettingReqDTO;
import com.kinghood.productcenter.common.model.vo.product.GetUserSearchSettingVO;
import com.kinghood.productcenter.common.model.vo.product.SearchSettingVO;
import com.kinghood.productcenter.common.model.dto.product.UserSearchSettingReqDTO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author KingHood
 * @since 2024-01-15
 */
public interface IUserSearchSettingService extends IService<UserSearchSettingDO> {

    /**
     * 保存搜索配置
     *
     * @param in 入参
     * @return 配置id
     * @author zfj
     * @date 2024/01/15
     */
    Boolean saveUserSearchSetting(UserSearchSettingReqDTO in);

    /**
     * 搜索配置获取
     *
     * @param in 入参
     * @return 配置
     * @author zfj
     * @date 2024/01/15
     */
    GetUserSearchSettingVO getUserSearchSetting(GetUserSearchSettingReqDTO in);
}
